package com.du.mybatis.dao;

import com.du.mybatis.pojo.Student;
import com.du.mybatis.pojo.Teacher;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author : DuJiabao
 * @Date : 2021/3/7 21:19
 * @Project : MyBatis
 * @File : null.java
 * @Desc :
 */
public interface StudentMapper {
  List<Student> getStudents();

  Student getStudentById(int id);

  Student getStudentByName(String name);

  Teacher getTeacher(int id);
}
